package com.goldcn.picture.dao;

import com.goldcn.picture.dto.QueryDetailDto;
import com.goldcn.picture.model.PicSpecialDetail;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PicSpecialDetailMapper {
    int deleteByPrimaryKey(Long specialdetailid);

    int insert(PicSpecialDetail record);

    int insertSelective(PicSpecialDetail record);

    PicSpecialDetail selectByPrimaryKey(Long specialdetailid);

    int updateByPrimaryKeySelective(PicSpecialDetail record);

    int updateByPrimaryKey(PicSpecialDetail record);

    int deleteBySpecialId(Long specialid);

    int deleteByPictureId(Long pictureid);

    List<PicSpecialDetail> selectListBySpecialId(Long specialid);

    int selectByPicSpecialId(QueryDetailDto queryDetailDto);
}
